#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>

QT_BEGIN_NAMESPACE
namespace Ui { class Widget; }
QT_END_NAMESPACE

class Widget : public QWidget
{
    Q_OBJECT

public:
    explicit Widget(QWidget *parent = nullptr);
    virtual ~Widget();

private:
    void UiPropertySetup(); // UI界面组件属性设置,某些特别需要注意的属性设置

private slots:
    void on_pushButtonCalc_clicked();
    void on_spinBoxDec_valueChanged(int val);
    void on_spinBoxBin_valueChanged(int val);
    void on_spinBoxHex_valueChanged(int val);

private:
    Q_DISABLE_COPY(Widget)

    Ui::Widget *ui;
};

#endif // WIDGET_H
